var wxRequest = require('../../utils/wxRequest')
var Common = require('../../utils/common');
const app = getApp();
Page({

  /**
   * 页面的初始数据
   */
  data: {
    list:[{
      "title":"烘焙·西餐",
        "img":"https://www.hiphantom.com/image/lite/hdzx0.png",
        "num":29974,
        "l":"家庭选择"
      },
      {
        "title": "职场工具",
        "img": "https://www.hiphantom.com/image/lite/hdzx1.png",
        "num": 3974,
        "l": "家庭选择"
      },
      {
        "title": "计算机编程",
        "img": "https://www.hiphantom.com/image/lite/hdzx2.png",
        "num": 1974,
        "l": "家庭选择"
      },
      {
        "title": "技师培训",
        "img": "https://www.hiphantom.com/image/lite/hdzx3.png",
        "num": 3123,
        "l": "家庭选择"
      },
      {
        "title": "礼仪·形象·演讲",
        "img": "https://www.hiphantom.com/image/lite/hdzx4.png",
        "num": 2374,
        "l": "家庭选择"
      },
      {
        "title": "成人教育",
        "img": "https://www.hiphantom.com/image/lite/hdzx5.png",
        "num": 3366,
        "l": "家庭选择"
      },
      {
        "title": "时间管理",
        "img": "https://www.hiphantom.com/image/lite/hdzx6.png",
        "num": 4879,
        "l": "家庭选择"
      },
      {
        "title": "考研",
        "img": "https://www.hiphantom.com/image/lite/hdzx7.png",
        "num": 8201,
        "l": "家庭选择"
      },
      {
        "title": "手工DIY",
        "img": "https://www.hiphantom.com/image/lite/hdzx8.png",
        "num": 11274,
        "l": "家庭选择"
      },
      {
        "title": "考公务员",
        "img": "https://www.hiphantom.com/image/lite/hdzx9.png",
        "num": 9613,
        "l": "家庭选择"
      },
      {
        "title": "育婴·推拿·家政",
        "img": "https://www.hiphantom.com/image/lite/hdzx10.png",
        "num": 5524,
        "l": "家庭选择"
      },
      {
        "title": "琴·棋·书·画",
        "img": "https://www.hiphantom.com/image/lite/hdzx11.png",
        "num": 3377,
        "l": "家庭选择"
      },
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    app.init(this);



  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
    // Common.showToast("即将开放，敬请期待");

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  },

  none: function (e) {
    app.toast('海南城市暂未开放此功能，敬请期待~');
  },


})